using System.ComponentModel;
using System.Data;
using Dimok.Data.DataSources;

namespace Data.DataSources {
	public abstract class ContractCondition_BaseDataSource : ObjectDataSourceBase {
		[Bindable(true)]
		public string ContractConditionCode {
			get { return GetSelectParameter("ContractConditionCode"); }
			set { SetSelectParameter("ContractConditionCode", value); } 
		}
		public virtual DataView SelectEx(string ContractConditionCode) {
			if ((ContractConditionCode + "") == "") return SelectEx();
			return Select("ContractConditionCode=@Code", ContractConditionCode);
		}
	}
}